package com.zz.common.web;

import com.zz.common.entity.WebRequest;
import com.zz.common.entity.WebResponse;

/**
 * web 处理器接口
 */
public interface WebHandler {

    WebResponse doGet(WebRequest request) throws Exception;

    WebResponse doPost(WebRequest request) throws Exception;
}
